package com.app.service;

import com.app.model.DepartmentModel;
import com.app.model.ProjectModel;
import com.app.model.StatusModel;
import com.app.model.SystemModel;
import com.app.vo.ProjectProgressVo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface ProjectProgressService{

    ProjectProgressVo projectList(ProjectModel model);

    ProjectProgressVo getListByType(ProjectModel model);

    //后台
    List<ProjectModel> getLIstByModel(ProjectModel model);

    int getCountByModel(ProjectModel model);

   List<ProjectModel> getList(ProjectModel model);

    int getCount(ProjectModel model);


    void deleteProjectById(int id);

    void update(ProjectModel model);

    int insert(ProjectModel model);

    void updateStatus(StatusModel model);

    ProjectProgressVo List(ProjectModel model);

    ProjectProgressVo getAllByTime(ProjectModel model);

    List<DepartmentModel> getDepartmentList();

    DepartmentModel getDepartment(int departmentId);

    List<StatusModel> getStatus(Integer projectId);

    List<SystemModel> getProjectClass();

    List<SystemModel> getProjectType();

    List<SystemModel> getStatusList();

    ProjectProgressVo getByTimeAndName(ProjectModel model);
    List<ProjectModel> getProjectByStatus(Integer status);

    List<StatusModel> getStatusModelAll();

    List<SystemModel> getSystemAll();

    Integer getModelCount(Integer status);

    Integer getModelCountByStatusAndClass(Integer status,Integer classId);

    void updateProject();

    ProjectModel selectCount();
    ProjectModel selectCountByYear(String year);

    ProjectModel getProjectCount();

    Integer selectCountByType(int id,String year);
}
